package com.ck.core.constant.program;

/**
 * 节目压缩zip常量
 *
 * @author linqiang
 * @date 2018-08-15 15:05
 */
public class ProgramZipConstant {
    /**
     * 华为云存储桶名称
     */
    public static final String HUAWEI_OSS_BUCKET_NAME = "obs-ck";
    /**
     * 华为云存储端点
     */
    public static final String HUAWEI_OSS_ENDPOINT = "obs.cn-east-2.myhwclouds.com";
    /**
     * 字符集编码
     */
    public static final String CHARSET = "UTF-8";
    /**
     * 节目压缩时下载的素材资源临时存储目录
     */
    public static final String SOURCE_FOLDER = "source";
    /**
     * 节目压缩成zip所需静态资源目录
     */
    public static final String ZIP_FOLDER = "zip";
    /**
     * 节目压缩成zip存储的临时目录
     */
    public static final String ZIP_TEMP_FOLDER = "ziptemp";
    /**
     * 华为云存储协议
     */
    public static final String PROTOCOL = "https://";
    /**
     * 路径分隔符
     */
    public static final String SLASH = "/";
    /**
     * zip压缩包存储在华为云的目录
     */
    public static final String HUA_WEI_ZIP_FOLDER = "ck/zip/";
    /**
     * 节目压缩包后缀名
     */
    public static final String ZIP_SUFFIX = ".zip";
    /**
     * 拼接节目JSON时素材url路径前缀
     */
    public static final String HTML_JSON_URL_PREFIX = "./source/";
    /**
     * 播放html模板
     */
    public static final String DEVICE_PLAY_TEMPLATE_HTML = "index_template.html";
    /**
     * 播放页面
     */
    public static final String DEVICE_PLAY_INDEX_HTML = "index.html";
    /**
     * 节目信息文件名
     */
    public static final String PROGRAM_INFO_FILE_NAME = "info.json";
}
